package com.atnjupt.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.atnjupt.bean.Book;
import java.util.List;

public interface BookService {
    Boolean saveBook(Book book);

    Boolean updateBook(Book book);

    Boolean delete(Integer integer);

    Book getBookById(Integer integer);

    List<Book> getAllBooks();

    IPage<Book> getPage(Integer pageNum,Integer pageSize);
}
